#ifndef MYWIDGET_H
#define MYWIDGET_H

#include <QGraphicsScene>
#include <QGraphicsObject>
#include <QGraphicsView>
#include <Qpicture>
#include <QGraphicsLayout>
#include <QtGui>
#include <QpushButton>
#include <Qlabel>
#include <QObject>
#include <QPixmap>
#include <QSize>

class myWidget : QWidget
{
    Q_OBJECT
private:
    int             i;
    QWidget         *win;
    QGraphicsScene  *sc;
    QGraphicsView   *vw;
    QPushButton     *btn;
    QVBoxLayout     *vBox;
    QLabel          *img;
    QSize           *size;
    QPixmap         *px;
    QGraphicsProxyWidget *prox;

public:
    myWidget();
    ~myWidget(){;}
    QWidget *getWindow() {return win;}
    void displayAll();
public slots:

    void changeImage();
};



#endif // MYWIDGET_H
